/**
 * wisaruthk
 */
function fnItembox(_imgsrc,_imghref,_header,_date,_price,_desc,_tag){
	//create div item-post
	var itemPost = jQuery('<div class="item-post"></div>');
	//create div thumnail
	var thumbnail = jQuery('<div class="thumbnail image2"></div>');
	var thum_a = jQuery('<a></a>').attr('href',_imghref);
	var thum_a_img = jQuery('<img class="lightbox image" style="opacity:1;"></img>').attr('src',_imgsrc);
	thum_a.append(thum_a_img);
	thumbnail.append(thum_a);
	//create div content
	var content = jQuery('<div class="content"></div>');
	var cont_header = jQuery('<h2></h2>').html(_header);
	var cont_date = jQuery('<span class="date"></span>').html(_date);
	var cont_price = jQuery('<h4 class="price"></h4>').html(_price);
	var cont_desc = jQuery('<p></p>').html(_desc);
	var cont_tag = jQuery('<div style="position:absolute;right:5px;bottom:5px"></div').html(_tag);
	content.append(cont_header);
	content.append(cont_date);
	content.append(cont_price);
	content.append(cont_desc);
	content.append(cont_tag);
	//append thumnail,content to item-post
	itemPost.append(thumbnail);
	itemPost.append(content);
	//append item-post to item-container
	itemPost.appendTo('#item-container');
}